project(cdemo)

cmake_minimum_required(VERSION 2.8)

find_package(PythonLibs)

include_directories(${PYTHON_INCLUDE_PATH})

option(BUILD_SHARED_LIBS "Shared libs required for Python Modules" ON)

python_add_module(cdemo cdemo.c)

target_link_libraries(cdemo ${PYTHON_LIBRARIES})
